Skip to content

Add support for "application/*+x-protobuf" media type #34645

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

doroszkiewicz
Copy link
Contributor

We need to version our API using protobuf. I added support for versioning via the media type header. The solution is analogous to versioning the JSON format.

Example header supported by this change: application/vnd.examle.public.v1+x-protobuf

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Mar 25, 2025
@doroszkiewicz doroszkiewicz force-pushed the protobuf-plus-media-type branch from f19ec86 to e8af432 Compare March 25, 2025 10:32
@bclozel bclozel added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jun 5, 2025
@bclozel bclozel added this to the 7.0.0-M6 milestone Jun 5, 2025
bclozel pushed a commit that referenced this pull request Jun 5, 2025
@bclozel bclozel closed this in 2d5d988 Jun 5, 2025
@bclozel
Copy link
Member

bclozel commented Jun 5, 2025

Thanks @doroszkiewicz and congrats on your first contribution!

@bclozel bclozel changed the title Added support for "application/*+x-protobuf" media type Add support for "application/*+x-protobuf" media type Jun 5, 2025
@bclozel bclozel self-assigned this Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants